package com.yape.test.daoTest;

import com.yape.Application;
import com.yape.dao.ITestDao;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

/**
 * @author yape
 * @description
 * @date 2025/5/20 23:48
 */
@SpringBootTest()
@RunWith(SpringRunner.class)
@Slf4j
public class test {

    @Resource
    private ITestDao testDao;

    @Test
    public void test() {
        String name = testDao.getName();
        System.out.println(name);
    }
}
